package com.biz.primus.ms.commodity.dao.po;


import com.biz.primus.ms.base.jpa.po.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 搜索推荐词
 * @author huiwu.heng
 * @date 2017年2月9日
 */
@Entity
@Table(name = "pro_search_recommend_word")
public class SearchRecommendWord extends BaseEntity {

	private static final long serialVersionUID = 6504978354794182482L;

    /**
     * 搜索名称
     */
    @Column(length = 50)
    private String searchName;

    /**
     * 显示顺序
     */
    @Column(unique = true, nullable = false)
    private int idx;

    /**
     * 备注
     */
    @Column
    private String note;

    public String getSearchName() {
        return searchName;
    }

    public void setSearchName(String searchName) {
        this.searchName = searchName;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public int getIdx() {
        return idx;
    }

    public void setIdx(int idx) {
        this.idx = idx;
    }
}
